package com.mxchen.lottery;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author hmchen
 */
@SpringBootApplication(scanBasePackages = { "com.mxchen.lottery", "com.alibaba.cola" })
@MapperScan("com.mxchen.lottery.infr.gatewayImpl")
@EnableDubbo
public class ApiApplication {

    public static void main(String[] args) {
        SpringApplication.run(ApiApplication.class, args);
    }

}
